<?php
namespace app\common\model;

use think\Model;

class Bis extends BaseModel   //model层 数据添加到数据库
{
     
  //通过状态获取商家数据    
public function getBisByStatus($status=0)
    {
       $order = [
	       'id' => 'desc',
	   
	   ];
	   $data = [
	       'status' => $status,
	   ];
	   return $this->where($data)->order($order)->paginate(10);
	   
	   
	   
	}













}